package cn.yunyichina.provider.pay.alipay.service;

import cn.yunyichina.provider.iface.entity.alipay.AlipayRequest;
import cn.yunyichina.provider.iface.entity.common.ResCommon;
import cn.yunyichina.provider.iface.entity.common.ResponseObject;
import cn.yunyichina.provider.iface.entity.dto.pay.*;

/**
 * Created by Lullaby on 2016/11/14.
 */
public interface AlipayTradeService {

    ResponseObject precreateAlipayTrade(String json);

    ResponseObject wapAlipayTrade(String json);

    ResponseObject appAlipayTrade(String json);

    ResponseObject faceAlipayTrade(String json);

    ResCommon<AlipayBarPayResponseDTO> alipayBarPay(AlipayBarPayRequestDTO requestDTO);

    ResCommon<AlipayOrderQueryResponseDTO> queryAlipayOrder(AlipayOrderQueryRequestDTO requestDTO);

    ResCommon<AlipayOrderCancelResponseDTO> cancelAlipayOrder(AlipayOrderCancelRequestDTO requestDTO);

    ResCommon<AlipayMedInfoUploadResponseDTO> alipayMedInfoUpload(AlipayRequest alipayRequest);

}
